package org.dashboard.service;

import org.dashboard.bean.AdDataset;
import org.dashboard.bean.AdRole;
import org.dashboard.bean.AdUser;

import java.util.List;
import java.util.Map;

public interface AdIndexService {

    List<Map<String, Object>> loadChartData(AdDataset adDataset, List<Map<String, Object>> params, AdUser user, List<AdRole> roles);

    List<String> loadPageParams(Integer pageId);

    Map<String, Object> exportPage(Integer pageId);

    void importPage(Integer pageId, Map<String, Object> data);
}
